package com.sunrise.generico.entidade;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import lombok.Getter;
import lombok.Setter;

import com.sunrise.generico.entidade.iface.EntidadeNegocio;

@Entity
@Table(name = "retorno_sms")
public class RetornoSMS implements EntidadeNegocio {

	/**
	 * 
	 */
	private static final long serialVersionUID = -643637358785683456L;

	@Id
	@SequenceGenerator(name = "pk_sequence", sequenceName = "retorno_sms_id_seq", allocationSize = 1)
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "pk_sequence")
	@javax.persistence.Column
	@Getter
	@Setter
	private Long id;

	@Column(name = "descricao", length = 15000, nullable = false)
	@Getter
	@Setter
	private String descricao;

	@Column(name = "codigo")
	@Getter
	@Setter
	private Integer codigo;

}
